Fuse SourceMap and PackageSet
authorAlex Crichton <alex@alexcrichton.com>
Fri, 19 Feb 2016 18:53:57 +0000 (10:53 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 19 Feb 2016 18:53:57 +0000 (10:53 -0800)
commit2d25fcacc808bbbedb33d1f42a764ecdaf6615fb
treed7ca819b6f08efd0119fa5e4b82b693062fafcbf
parent34269d0af6573a4a24b4ce3beaabf1f782a1e0d2
Fuse SourceMap and PackageSet

This commit moves the SourceMap structure into the PackageSet structure, and
simultaneously massively cuts down on the API surface area of PackageSet. It's
intended that eventually a PackageSet will be a lazily loaded set of packages so
we don't have to download everything all at once, and this is the commit in
preparation of that.
12 files changed:
src/cargo/core/package.rs
src/cargo/core/registry.rs
src/cargo/ops/cargo_clean.rs
src/cargo/ops/cargo_compile.rs
src/cargo/ops/cargo_fetch.rs
src/cargo/ops/cargo_output_metadata.rs
src/cargo/ops/cargo_rustc/context.rs
src/cargo/ops/cargo_rustc/custom_build.rs
src/cargo/ops/cargo_rustc/fingerprint.rs
src/cargo/ops/cargo_rustc/layout.rs
src/cargo/ops/cargo_rustc/links.rs
src/cargo/ops/cargo_rustc/mod.rs